#ifndef SERIAL
#define SERIAL
#include <string>
#include <wiringPi.h>
#include <wiringSerial.h>
#include <iostream>
class serial {
public:
  serial();
  ~serial();
  void uart(std::string msg);
  void send(std::string msg);
  bool receive(char &ch);
  void wait_receive(char &ch);
  int MySerial;
};

#endif